from selenium import webdriver
from selenium.webdriver.common.by import By
from time import sleep
from options import options

driver= webdriver.Chrome(options=options)
driver.get(r'https://www.baidu.com')
sleep(2)

driver.get_screenshot_as_file(r'baidu1.png')
driver.save_screenshot(r'baidu2.png')

driver.quit()

